package com.teaching.teachingsupport.service.impl.administratorserviceimpl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.teaching.teachingsupport.common.pojo.dataobject.Student;
import com.teaching.teachingsupport.mapper.studentviewmapper.StudentMapper;
import com.teaching.teachingsupport.service.service2.Administratorservice.StudentAmountService;
import org.springframework.stereotype.Service;

@Service
public class StudentAmountServiceImpl extends ServiceImpl<StudentMapper, Student> implements StudentAmountService {

    @Override
    public Integer getStudentCount() {
        Long count = this.count();
        return count.intValue();
    }
} 